package dbexp.model;

import dbexp.model.db.DbOT;

public class Schema extends DbObject {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	public static final String LABEL = "schemy";
	public static final String DEF_ICON = "db-schema-icon";

	public Schema() {
		super(LABEL, DbOT.SCHEMAS);
		setIcons("db-schemas-icon");
	}

	public Schema(String schemaName) {
		super(schemaName, DbOT.SCHEMA);
		setIcons(DEF_ICON, "db-schemas-icon");
		set("leaf", true);
	}

	public String getQuery(int operation) {
		return oneFromDual();
	}
}
